Quote Originally Posted by robatino View Post
>So -std=c99 might be useful in testing code to pick up some cases of C99 noncompliance, but is probably not a good idea to use by default.
Hence "tastes vary". =)

Although gcc doesn't fully conform to C99, I unabashedly use some of the features that it does currently support. I've grown fond of compound literals, designated initializers, variable argument list macros, snprintf() (admittedly a library issue), stdbool, exact-width integers, among others.

It really depends on what your code targets. If you're guaranteed a recent gcc or other C99-esque compiler (such as Intel's), using C99 features may not be a bad thing. Of course, if you want to be maximally portable, C89 is still the proper target. I just don't care much about C89 compliance when it comes to code for my own personal use.